import request from '@/utils/request'

/**
 * 登录
 * @param {Object} data
 * @returns
 */
export function login (data) {
  return request({
    url: '',
    method: 'post',
    data
  })
}

/**
 * 登出
 * @returns 
 */
export function logout () {
  return request({
    url: '',
    method: 'post',
  })
}